package com.example.android.ui.hb;

import com.example.android.bean.BaseBean;
import com.example.android.bean.Goods;

import java.util.List;

import io.reactivex.rxjava3.core.Flowable;

public interface HBContract {
    interface IHBModel {
        Flowable<BaseBean<List<Goods>>> getHBList();
     }

    interface IHBView {
        void getHBListSuccess(BaseBean<List<Goods>> HBList);
        void getHBListError(Throwable throwable);
    }

    interface IHBPresenter {
        void getHbList();
    }
}
